<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:31:"template/index/index\index.html";i:1595391196;s:67:"D:\phpstudy_pro\WWW\tp.com\public\template\index\public\header.html";i:1595391196;s:67:"D:\phpstudy_pro\WWW\tp.com\public\template\index\public\footer.html";i:1526783421;}*/ ?>
<!DOCTYPE html>

<html>

<head>

  <meta charset="utf-8">

  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

  <title><?php if(!(empty($info['title']) || (($info['title'] instanceof \think\Collection || $info['title'] instanceof \think\Paginator ) && $info['title']->isEmpty()))): ?><?php echo $info['title']; ?>-<?php endif; if(!(empty($web) || (($web instanceof \think\Collection || $web instanceof \think\Paginator ) && $web->isEmpty()))): ?><?php echo $web['title']; else: ?>Easy Tp<?php endif; ?></title>

  <meta name="keywords" content="<?php if(!(empty($info['tag']) || (($info['tag'] instanceof \think\Collection || $info['tag'] instanceof \think\Paginator ) && $info['tag']->isEmpty()))): ?><?php echo $info['tag']; else: ?><?php echo $web['tag']; endif; ?>">

  <meta name="description" content="<?php if(!(empty($info['description']) || (($info['description'] instanceof \think\Collection || $info['description'] instanceof \think\Paginator ) && $info['description']->isEmpty()))): ?><?php echo $info['description']; else: ?><?php echo $web['desc']; endif; ?>">

  <link rel="stylesheet" href="/static/public/layui/css/layui.css">

  <link rel="stylesheet" href="/static/public/font-awesome/css/font-awesome.css">

  <link rel="stylesheet" href="/static/index/css/tplay.css">

</head>

<body>

  <div class="layui-layout layui-layout-admin">

    <div class="layui-header">

      <ul class="layui-nav tplay-float-auto tplay-header">

        <li class="layui-nav-item" lay-unselect>
          <a href="/" class="tplay-logo"><?php if(!(empty($web) || (($web instanceof \think\Collection || $web instanceof \think\Paginator ) && $web->isEmpty()))): ?><?php echo $web['name']; else: ?>Easy Tp<?php endif; ?></a>
        </li>

        <li class="layui-nav-item" id="tplay-hearder-search" lay-unselect>

          <form class="layui-form" action="<?php echo url('index/article/index'); ?>" method="post">

            <div class="layui-input-inline">

              <input type="test" name="keywords" placeholder="search content" autocomplete="off" class="layui-input tplay-seach">

            </div>

          </form>

        </li>

        <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

        <li class="layui-nav-item" lay-unselect>
          <a href="<?php echo url($vo['href']); ?>" <?php if($vo['is_target'] == '1'): ?>target="_blank"<?php endif; ?>><?php echo $vo['name']; ?></a>
          <?php if(!(empty($vo['list']) || (($vo['list'] instanceof \think\Collection || $vo['list'] instanceof \think\Paginator ) && $vo['list']->isEmpty()))): ?>
          <dl class="layui-nav-child">
            <?php if(is_array($vo['list']) || $vo['list'] instanceof \think\Collection || $vo['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$po): $mod = ($i % 2 );++$i;?>
            <dd><a href="<?php echo $po['href']; ?>"><?php echo $po['name']; ?></a></dd>
            <?php endforeach; endif; else: echo "" ;endif; ?>
          </dl>
          <?php endif; ?>
        </li>

        <?php endforeach; endif; else: echo "" ;endif; ?>
        
        <li class="layui-nav-item tplay-header-right">
          <?php if(!(empty($user) || (($user instanceof \think\Collection || $user instanceof \think\Paginator ) && $user->isEmpty()))): ?>
          <a href="javascript:;"><img src="/static/index/img/msg.jpg" width="35" style="border-radius: 50%"> <?php echo $user['name']; ?></a>
          <dl class="layui-nav-child">
            <dd><a href="<?php echo url('index/user/logout'); ?>">退出</a></dd>
          </dl>
          <?php else: ?>
          <a href="javascript:;">登录</a>
          <dl class="layui-nav-child">
            <dd><a href="<?php echo url('index/user/login'); ?>">登录</a></dd>
            <dd><a href="<?php echo url('index/user/registered'); ?>">注册</a></dd>
          </dl>
          <?php endif; ?>
        </li>

      </ul>

    </div>


    <?php if(!(empty($carousel) || (($carousel instanceof \think\Collection || $carousel instanceof \think\Paginator ) && $carousel->isEmpty()))): ?>
    <div class="tplay-index-carousel">
      <div class="layui-carousel" id="tplay-index-carousel">
        <div carousel-item="">
          <?php if(is_array($carousel) || $carousel instanceof \think\Collection || $carousel instanceof \think\Paginator): $i = 0; $__LIST__ = $carousel;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
          <div><a href="<?php echo $vo['href']; ?>"><img src="<?php echo $vo['img']; ?>" style="width:100%;height:100%;"></a></div>
          <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
      </div>
    </div>
    <?php endif; ?>
    <div class="tplay-auto">
      <h2 class="tplay-index-h2">Easy Tp友好</h2>
      <p class="tplay-index-p">扩展在软件开发领域中扮演的角色越来越重要，一个对开发者友好的内容管理框架，能很大程度地提高团队开发效率</p>
      <div class="layui-container">
        <div class="layui-row layui-col-space10">
          <div class="layui-col-xs3">
            <div class="tplay-index-block">
              <h3>Layui</h3>
              <p>最流行的国产前端UI框架，提供详尽的中文文档、实例，助力开发者极速开发</p>
            </div>
          </div>
          <div class="layui-col-xs3">
            <div class="tplay-index-block">
              <h3>ThinkPHP</h3>
              <p>最流行的国产PHP框架，提供详尽的中文文档、实例，助力开发者极速开发</p>
            </div>
          </div>
          <div class="layui-col-xs3">
            <div class="tplay-index-block">
              <h3>Composer</h3>
              <p>PHP一个第三方库依赖管理工具，让你更方便扩展第三方库</p>
            </div>
          </div>
          <div class="layui-col-xs3">
            <div class="tplay-index-block">
              <h3>API</h3>
              <p>为API开发而设计的内容管理高性能框架，更易快速进行 app,小程序开发</p>
            </div>
          </div>
        </div>
      </div>
  </div>
    <div class="tplay-footer">

  		<i class="fa fa-copyright"></i> 

		<?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

  		<a href="<?php echo $vo['href']; ?>" <?php if($vo['is_target'] == '1'): ?>target="_blank"<?php endif; ?>><?php echo $vo['name']; ?></a> 

		<?php endforeach; endif; else: echo "" ;endif; ?>

    </div>

  </div>

  <script src="/static/public/jquery/jquery.min.js"></script>

  <script src="/static/public/layui/layui.js"></script>

  <script src="/static/index/js/tplay-footer.js"></script>

</body>

</html>
    <script src="/static/index/js/tplay-index.js"></script>